<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>点位配置列表</title>
    <link rel="stylesheet" href="../lib/layui/css/layui.css" media="all">
    <script type="text/javascript" src="../lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../js/xadmin.js"></script>
</head>
<body>
<a class="layui-btn layui-btn-xs" target="_blank" th:href="|/camera/addConfig?rtsp=${rtsp}|">添加配置</a>
<table class="layui-table">
    <tr>
        <td>名称</td>
        <td>操作</td>
    </tr>
    <tr th:each="cameraConfig:${cameraConfigList}">
        <td th:text="${cameraConfig.configName}">xxx</td>
        <td>
            <a class="layui-btn layui-btn-xs" target="_blank" th:href="|/camera/updateConfig?id=${cameraConfig.id}|">编辑</a>
            <a class="layui-btn layui-btn-xs" th:href="|/camera/deleteConfig/${cameraConfig.id}|">删除</a>
        </td>
    </tr>
</table>
</body>
</html>